package com.domain.oa.utils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("封装返回信息")
@Accessors(chain = true)
public class ResultVo<T> implements Serializable {

    @ApiModelProperty("统一编码")
    private Integer Code;

    @ApiModelProperty("返回信息")
    private String Msg;

    @ApiModelProperty("返回数据")
    private T Data;
}
